package com.itheima.a08oopextendsdemo8;

public class Test7 {
    public static void main(String[] args) {
        //创建学生对象
        //Student s = new Student();调用无参构造

        Student1 s = new Student1("zhangsan", 23);
        System.out.println(s.name + ", " + s.age);
    }
}
